package com.wm.wmim.server.dto.bo.resp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author weiming
 * @date 2025/1/15 22:35
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ChatListRespBO {

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 联系人ID
     */
    private Long friendId;

    /**
     * 联系人昵称
     */
    private String friendNickname;

    /**
     * 联系人头像
     */
    private String friendAvatar;


    /**
     * 消息内容
     */
    private String lastMessageContent;
    /**
     * 最新消息时间
     */
    private LocalDateTime lastMessageTime;

    /**
     * 未读消息数
     */
    private Integer unreadMessageCount;

}
